package com.wmh.baseservice.robot.pojo.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author dongaolong
 * @date 2023/7/12
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "自动化机器端任务管理更新请求对象")
public class RobotTaskUpdateVO {

    @NotNull(message = "未提交主键")
    private Long id;

    @NotBlank(message = "未提交名称")
    @Size(min = 1, max = 30, message = "名称长度必须在 1~30个字符之内")
    private String name;

    @NotBlank(message = "未提交任务页面路由")
    private String viewRouter;

}
